// 定时器的常用API
#include <stdio.h>
// 过程中给以下文件添加了注释，如果运行出问题，在备份中取一个新的文件覆盖
#include "./src/kernel/liteos_m/kal/cmsis/cmsis_liteos2.c"
#include <unistd.h>

#include "ohos_init.h"
#include "cmsis_os2.h"
#include <unistd.h>
#include "hi_wifi_api.h"
//#include "wifi_sta.h"
#include "lwip/ip_addr.h"
#include "lwip/netifapi.h"

#include "lwip/sockets.h"

// 定时器的创建与删除

osTimerId_t osTimerNew (osTimerFunc_t func, osTimerType_t type, void *argument, const osTimerAttr_t *attr);
osStatus_t osTimerDelete (osTimerId_t timer_id);

// 定时器的启动与停止

osStatus_t osTimerStart (osTimerId_t timer_id, uint32_t ticks);
osStatus_t osTimerStop (osTimerId_t timer_id);

// 获取定时器的信息

const char *osTimerGetName (osTimerId_t timer_id);
uint32_t osTimerIsRunning(osTimerId_t timer_id);

